package org.tio.im.common.utils;

import java.io.IOException;


import com.alibaba.fastjson.serializer.JSONSerializer;
import com.alibaba.fastjson.serializer.ObjectSerializer;

public  class ModelValueSerializer implements ObjectSerializer {
	@Override
	public void write(JSONSerializer serializer, Object object, Object fieldName, java.lang.reflect.Type fieldType, int features)
			throws IOException {
		serializer.write(String.valueOf(object));		
	}
 
}